Skip to content

Created Flux Watchface Clock #3959

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 10, 2025
Merged

Created Flux Watchface Clock #3959

merged 9 commits into from
Aug 10, 2025

Conversation

sossinayDev
Copy link
Contributor

Flux Watchface

This pull request adds the Flux Watchface to the AppLoader.

The Flux Watchface app is inpired by Apples Watchface "Flux". It features customizeable color schemes, animations and random number transformation.

Features

  • Customizeable themes (4 color inputs)
  • Random number alignment (every minute or on reload)
  • 24h clock (12h not yet supported)
  • Power-saving mode
  • Color filling effect in 2 directions (Left > Right and Right > Left are currently unsupported.)
  • 12 different colors

Files

  • Main app: flux.app.js
  • Settings: flux.settings.js
  • Settings JSON: flux.settings.json
  • Icon: flux.img

This app was tested on a real Bangle.JS 2 and works perfectly fine.
You can test-upload it here

Initial commit of the Flux watchface app, including main application logic, icon, screenshots, metadata, and settings menu. The app features a customizable clock face inspired by Apple's Flux, with color themes and random number alignment.
Corrected the 'name' and 'url' fields for settings.js and flux.settings.js in apps/flux/metadata.json to ensure proper mapping.
Replaces the existing app.png icon for the Flux application with a properly sized 48x48 pixel image.
Replaces the existing app-icon.js for the Flux application with a properly sized 48x48 pixel image.
Clarified widget support status, updated feature list, and added a 'Known issues' section to document current limitations and bugs.
Added a ChangeLog file for the Flux app and updated metadata.json to include flux.settings.json.
Moved list definitions and functions, added direction selector.
@thyttan
Copy link
Collaborator

thyttan commented Aug 10, 2025

What a fun clock face! 🤩 Thanks!

Removed the Semicolon on the last line (for the sanitychecker).
@thyttan
Copy link
Collaborator

thyttan commented Aug 10, 2025

More warnings from the checker

  105:7   warning  'color_schemes' is assigned a value but never used  no-unused-vars
  115:10  warning  'load_color_scheme' is defined but never used       no-unused-vars

Removed:
 - const color_schemes
 - function load_color_scheme()
@sossinayDev sossinayDev requested a review from thyttan August 10, 2025 12:17
@thyttan
Copy link
Collaborator

thyttan commented Aug 10, 2025

I'll merge this without any more changes now, thanks!

Notes for another PR:

  • I noticed the seconds-fill draw on my locked bangle once. I think this is not intended. But this can be a quirk of my setup and maybe not a bug with the app itself.
  • I think it would be cool if the seconds-fill was drawn immediately on unlock and didn't wait for the next full second. In the name of the feeling of snappiness.
  • an option for seconds-fill also on locked screen could be nice - although I wouldn't use it myself.

@thyttan thyttan merged commit 32309b8 into espruino:master Aug 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants